<!DOCTYPE html>


<html lang="en">
  

    <head>
      <meta charset="utf-8" />
        
      <meta
        name="viewport"
        content="width=device-width, initial-scale=1, maximum-scale=1"
      />
      <title> 科技百宝箱</title>
  <meta name="generator" content="hexo-theme-ayer">
      
      <link rel="shortcut icon" href="/favicon.ico" />
       
<link rel="stylesheet" href="/dist/main.css">

      
<link rel="stylesheet" href="/css/fonts/remixicon.css">

      
<link rel="stylesheet" href="/css/custom.css">
 
      <script src="https://cdn.staticfile.org/pace/1.2.4/pace.min.js"></script>
       
 

      <link
        rel="stylesheet"
        href="https://cdn.jsdelivr.net/npm/@sweetalert2/theme-bulma@5.0.1/bulma.min.css"
      />
      <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.0.19/dist/sweetalert2.min.js"></script>

      <!-- mermaid -->
      
      <style>
        .swal2-styled.swal2-confirm {
          font-size: 1.6rem;
        }
      </style>
    <link rel="alternate" href="/atom.xml" title="科技百宝箱" type="application/atom+xml">
</head>
  </html>
</html>


<body>
  <div id="app">
    
      
      <canvas width="1777" height="841"
        style="position: fixed; left: 0px; top: 0px; z-index: 99999; pointer-events: none;"></canvas>
      
    <main class="content on">
      
<section class="cover">
    
      
      <a class="forkMe" href="https://space.bilibili.com/1834519604?spm_id_from=333.1007.0.0"
        target="_blank"><img width="149" height="149" src="/images/forkme.png"
          class="attachment-full size-full" alt="Fork me on GitHub" data-recalc-dims="1"></a>
    
  <div class="cover-frame">
    <div class="bg-box">
      <img src="/images/cover1.jpg" alt="image frame" />
    </div>
    <div class="cover-inner text-center text-white">
      <h1><a href="/">科技百宝箱</a></h1>
      <div id="subtitle-box">
        
        <span id="subtitle"></span>
        
      </div>
      <div>
        
      </div>
    </div>
  </div>
  <div class="cover-learn-more">
    <a href="javascript:void(0)" class="anchor"><i class="ri-arrow-down-line"></i></a>
  </div>
</section>



<script src="https://cdn.staticfile.org/typed.js/2.0.12/typed.min.js"></script>


<!-- Subtitle -->

  <script>
    try {
      var typed = new Typed("#subtitle", {
        strings: ['很高兴见到你！', '这里是&#34;爱吃肠粉拌辣椒&#34;的网站', '好用就给个三连吧~'],
        startDelay: 0,
        typeSpeed: 200,
        loop: true,
        backSpeed: 100,
        showCursor: true
      });
    } catch (err) {
      console.log(err)
    }
  </script>
  
<div id="main">
  <section class="outer">
  
  <ul class="ads">
    
        <li>
            <a href="">
                <img src="" width="" alt="">
            </a>
        </li>
    
        <li>
            <a href="">
                <img src="" width="" alt="">
            </a>
        </li>
    
</ul>
  
  
  <article class="articles">
    
    
    
    
    <article
  id="post-idm下载器"
  class="article article-type-post"
  itemscope
  itemprop="blogPost"
  data-scroll-reveal
>
  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2024/08/07/idm%E4%B8%8B%E8%BD%BD%E5%99%A8/"
    >idm下载器</a> 
</h2>
 

      
    </header>
     
    <div class="article-meta">
      <a href="/2024/08/07/idm%E4%B8%8B%E8%BD%BD%E5%99%A8/" class="article-date">
  <time datetime="2024-08-07T14:12:00.000Z" itemprop="datePublished">2024-08-07</time>
</a>    
    </div>
      
    <div class="article-entry" itemprop="articleBody">
       
  <p>idm（Internet Download Manager）是一个十分优秀的下载器，速度可以榨干宽带，但idm的价格相当高，各位手头有点紧的，可以用破解版。<br>下载链接：<a target="_blank" rel="noopener" href="https://wwf.lanzout.com/i5Xi526t8buh">https://wwf.lanzout.com/i5Xi526t8buh</a><br>里面附赠安装以及激活教程。</p>
 
      <!-- reward -->
      
    </div>
    

    <!-- copyright -->
    
    <footer class="article-footer">
       
    </footer>
  </div>

    
 
   
  
</article>

    
    <article
  id="post-2024年8月7日更新日志"
  class="article article-type-post"
  itemscope
  itemprop="blogPost"
  data-scroll-reveal
>
  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2024/08/07/2024%E5%B9%B48%E6%9C%887%E6%97%A5%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97/"
    >2024年8月7日更新日志</a> 
</h2>
 

      
    </header>
     
    <div class="article-meta">
      <a href="/2024/08/07/2024%E5%B9%B48%E6%9C%887%E6%97%A5%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97/" class="article-date">
  <time datetime="2024-08-07T13:34:25.000Z" itemprop="datePublished">2024-08-07</time>
</a>    
    </div>
      
    <div class="article-entry" itemprop="articleBody">
       
  <p>2024年8月7日更新日志<br>1.更新了在左下角的搜索功能<br>2.左侧AI<br>3.补充了QQ群选项的不足</p>
 
      <!-- reward -->
      
    </div>
    

    <!-- copyright -->
    
    <footer class="article-footer">
       
    </footer>
  </div>

    
 
   
  
</article>

    
    <article
  id="post-ChatGPT"
  class="article article-type-post"
  itemscope
  itemprop="blogPost"
  data-scroll-reveal
>
  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2024/08/07/ChatGPT/"
    >ChatGPT</a> 
</h2>
 

      
    </header>
     
    <div class="article-meta">
      <a href="/2024/08/07/ChatGPT/" class="article-date">
  <time datetime="2024-08-07T03:44:14.000Z" itemprop="datePublished">2024-08-07</time>
</a>    
    </div>
      
    <div class="article-entry" itemprop="articleBody">
       
  <p>大家都知ChatGPT，是一个十分强大的人工智能（AI），可以在生活中帮助我们，不过懂点电脑的都知道ChatGPT不能在国内运行，所以呢，我给大家准备了一些镜像网，镜像网站是指原始网站的内容复制并放置在另一服务器上的网站。这个概念通常应用于提供备用访问途径，为主站点的繁重流量提供缓解。一般来说，镜像网站会更新以保持与原始网站相同的内容，所以呢，不用担心进去的界面不一样，但使用跟ChatGPT是一模一样的，如果你进去网站说要什么关注公众号的，你也不用退出，天下没有免费的午餐，他没有叫你付钱，已经是造福人民了。<br>1.<a target="_blank" rel="noopener" href="https://chatgai.lovepor.cn/">https://chatgai.lovepor.cn/</a><br>2.<a target="_blank" rel="noopener" href="https://gptcat.top/">https://gptcat.top/</a><br>3.<a target="_blank" rel="noopener" href="https://snakegpt.work/">https://snakegpt.work</a><br>4.<a target="_blank" rel="noopener" href="http://m6z.cn/63vlPw">http://m6z.cn/63vlPw</a><br>当然，国内也是有AI，更适合中国宝宝体质的AI<br>1.文心一言：<a target="_blank" rel="noopener" href="https://yiyan.baidu.com/welcome">https://yiyan.baidu.com/welcome</a><br>2.讯飞星火：<a target="_blank" rel="noopener" href="https://xinghuo.xfyun.cn/">https://xinghuo.xfyun.cn/</a><br>3.通义千问：<a target="_blank" rel="noopener" href="https://tongyi.aliyun.com/">https://tongyi.aliyun.com/</a><br>4.kimi助手：<a target="_blank" rel="noopener" href="https://kimi.moonshot.cn/">https://kimi.moonshot.cn/</a></p>
<p>如果哪个网站不能用了，可以在QQ群告诉我哦~</p>
 
      <!-- reward -->
      
    </div>
    

    <!-- copyright -->
    
    <footer class="article-footer">
       
    </footer>
  </div>

    
 
   
  
</article>

    
    <article
  id="post-QQ群"
  class="article article-type-post"
  itemscope
  itemprop="blogPost"
  data-scroll-reveal
>
  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2024/08/06/QQ%E7%BE%A4/"
    >QQ群</a> 
</h2>
 

      
    </header>
     
    <div class="article-meta">
      <a href="/2024/08/06/QQ%E7%BE%A4/" class="article-date">
  <time datetime="2024-08-06T14:52:12.000Z" itemprop="datePublished">2024-08-06</time>
</a>    
    </div>
      
    <div class="article-entry" itemprop="articleBody">
       
  <p>群里大部分都是大佬，不会的东西都可以来问！<br>QQ群：<br>1群：883753748 配虚拟机和密钥<br>2群：710039465 配虚拟机和密钥<br>密码是UP的UID</p>
 
      <!-- reward -->
      
    </div>
    

    <!-- copyright -->
    
    <footer class="article-footer">
       
    </footer>
  </div>

    
 
   
  
</article>

    
    <article
  id="post-关于我"
  class="article article-type-post"
  itemscope
  itemprop="blogPost"
  data-scroll-reveal
>
  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2024/08/06/%E5%85%B3%E4%BA%8E%E6%88%91/"
    >我的故事</a> 
</h2>
 

      
    </header>
     
    <div class="article-meta">
      <a href="/2024/08/06/%E5%85%B3%E4%BA%8E%E6%88%91/" class="article-date">
  <time datetime="2024-08-06T14:38:00.000Z" itemprop="datePublished">2024-08-06</time>
</a>    
    </div>
      
    <div class="article-entry" itemprop="articleBody">
       
  <p>想了好久都不知道怎么写，那就随便写好了，我是一个B站UP主”爱吃肠粉拌辣椒”，一个初中牲，喜欢听歌，看动漫，打游戏，爱好是电脑，想成为一个拥有500万粉丝的UP主，我知道这是白日梦，但人总要有梦想，不然就是咸鱼！<br>职业：学生<br>级别：初中牲<br>生辰：2011.11.19<br>小破站：爱吃肠粉拌辣椒</p>
 
      <!-- reward -->
      
    </div>
    

    <!-- copyright -->
    
    <footer class="article-footer">
       
    </footer>
  </div>

    
 
   
  
</article>

    
    <article
  id="post-虚拟机安装教程"
  class="article article-type-post"
  itemscope
  itemprop="blogPost"
  data-scroll-reveal
>
  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2024/08/06/%E8%99%9A%E6%8B%9F%E6%9C%BA%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B/"
    >虚拟机安装教程</a> 
</h2>
 

      
    </header>
     
    <div class="article-meta">
      <a href="/2024/08/06/%E8%99%9A%E6%8B%9F%E6%9C%BA%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B/" class="article-date">
  <time datetime="2024-08-06T13:30:30.000Z" itemprop="datePublished">2024-08-06</time>
</a>    
    </div>
      
    <div class="article-entry" itemprop="articleBody">
       
  <p>现在不是中病毒的时代，现在是玩病毒的时代！<br>                                         ——爱吃肠粉拌辣椒<br>开个玩笑，想必各位电脑资深爱好者应该听说过电脑病毒，每个病毒各式各样，想看到每个病毒的光彩，但是又不想自己的电脑报废，那么，虚拟机这种东西就诞生了，不管你是资深电脑爱好者，或者在读大学，这都是对你一个挺大的帮助，那么虚拟机怎么选，怎么用，在安装时遇到不懂的故障，这个文章一起帮你搞定<br>1.虚拟机安装与使用<br>因为我之前做过虚拟机安装和使用，所以这里不多复述。网址：<a target="_blank" rel="noopener" href="https://www.bilibili.com/video/BV18w411j7C5/?spm_id_from=333.999.0.0">https://www.bilibili.com/video/BV18w411j7C5/?spm_id_from=333.999.0.0</a></p>
<p>2.故障排查<br>我虽然在视频里有讲，但是并不是很全面，私信里还有许多人问我，所以这里直接讲完。<br>（1）在安装Windows系统时遇到一个蓝色界面。<br>图片：<a target="_blank" rel="noopener" href="https://picture.gptkong.com/20240806/2150b446edbc87474f9fa72fd8450adecb.png">https://picture.gptkong.com/20240806/2150b446edbc87474f9fa72fd8450adecb.png</a> 打开即可查看<br>如果遇到这种情况，选择第二项回车，然后就会出现黑屏，图片：<a target="_blank" rel="noopener" href="https://picture.gptkong.com/20240806/21530a28120bcb43aa9bd37676dfeda274.png">https://picture.gptkong.com/20240806/21530a28120bcb43aa9bd37676dfeda274.png</a> 打开即可查看<br>（2）无法安装vm tools<br>如果你成功安装了系统，但显示无法安装vm tools，那么有可能你装的是修改版系统，也就是精简版，这种一般都是占用很好多空间，虽然节省了空间，经常报错、缺少dll和无法安装vm tools就是它的致命弱点！如果你空间不足可以用用，但你是欣赏病毒的，那我不建议你安装精简版系统，对于电脑小白，我建议安装原版win10，镜像在我上个文章有。当然，如果你安装的是win7，那么这属于正常，我在B站上找个文章，你们可以自己去看，网址:<a target="_blank" rel="noopener" href="https://www.bilibili.com/read/cv23621999/">https://www.bilibili.com/read/cv23621999/</a> 。<br>(3)安装完后很卡<br>安装完后很卡，有可能是你调的CPU核数和运行内存太少了，可以先关闭系统，在左侧有个”编辑虚拟机设置”打开它内存是看物理机的内存调的，物理机是8G，虚拟机就调4G，16G就调8G，32就调12G，CPU也是看这调，一般是处理器数量调4，每个处理器的内核数量调2，这是我觉得最好的调法。<br>当然还有另一种问题，就是你把虚拟机系统安装在了机械硬盘，这不卡怪谁呢？所以最好安在固态硬盘，除非固态没空间了。</p>
 
      <!-- reward -->
      
    </div>
    

    <!-- copyright -->
    
    <footer class="article-footer">
       
    </footer>
  </div>

    
 
   
  
</article>

    
    <article
  id="post-系统镜像"
  class="article article-type-post"
  itemscope
  itemprop="blogPost"
  data-scroll-reveal
>
  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2024/08/06/%E7%B3%BB%E7%BB%9F%E9%95%9C%E5%83%8F/"
    >系统镜像</a> 
</h2>
 

      
    </header>
     
    <div class="article-meta">
      <a href="/2024/08/06/%E7%B3%BB%E7%BB%9F%E9%95%9C%E5%83%8F/" class="article-date">
  <time datetime="2024-08-06T10:59:40.000Z" itemprop="datePublished">2024-08-06</time>
</a>    
    </div>
      
    <div class="article-entry" itemprop="articleBody">
       
  <p>你也许是个对电脑一无所知的电脑小白，在网上下载着盗版或者修改版系统镜像；或者是个资深电脑爱好者，对电脑有着浓厚的兴趣，但对众多的系统镜像，不知改如何下手，不妨看看这篇文章，不管电脑小白还是电脑爱好者，都有帮助。<br>1.怎么找到正版的系统镜像？<br>找到正版镜像无疑就是在微软（Microsoft）官方下，网址：<a target="_blank" rel="noopener" href="https://www.microsoft.com/zh-cn/software-download">https://www.microsoft.com/zh-cn/software-download</a> ，但目前来看，只能下载win11和win10，因为其他版本早已不受支持，不过这对小白有好处，新系统在安装是不会像老系统一样安装时报错，和安装失败。那么你是自资深电脑爱好者，那么MSDN一定是你的不二之选，网址：<a target="_blank" rel="noopener" href="https://msdn.itellyou.cn/">https://msdn.itellyou.cn/</a> ，上面有着丰富的系统镜像从win3.11到现在的win11都有。<br>当然，如果你想用网盘下载，我这里也有 123网盘：<a target="_blank" rel="noopener" href="https://www.123pan.com/s/mv4wjv-mxli3.html">https://www.123pan.com/s/mv4wjv-mxli3.html</a>  网盘技术支持哔哩哔哩@金莲与大郎。</p>
 
      <!-- reward -->
      
    </div>
    

    <!-- copyright -->
    
    <footer class="article-footer">
       
    </footer>
  </div>

    
 
   
  
</article>

    
    <article
  id="post-致每个电脑爱好者"
  class="article article-type-post"
  itemscope
  itemprop="blogPost"
  data-scroll-reveal
>
  <div class="article-inner">
    
    <header class="article-header">
       
<h2 itemprop="name">
  <a class="article-title" href="/2024/08/06/%E8%87%B4%E6%AF%8F%E4%B8%AA%E7%94%B5%E8%84%91%E7%88%B1%E5%A5%BD%E8%80%85/"
    >致每个电脑爱好者</a> 
</h2>
 

      
    </header>
     
    <div class="article-meta">
      <a href="/2024/08/06/%E8%87%B4%E6%AF%8F%E4%B8%AA%E7%94%B5%E8%84%91%E7%88%B1%E5%A5%BD%E8%80%85/" class="article-date">
  <time datetime="2024-08-06T08:44:07.000Z" itemprop="datePublished">2024-08-06</time>
</a>    
    </div>
      
    <div class="article-entry" itemprop="articleBody">
       
  <p>你好，如果你看到这篇文章，说明我的网站已经可以访问了，我是一个B站UP主，名字叫：爱吃肠粉拌辣椒，你可以在B站找到我。这个网站是我了无数的心血打造的，想给每个电脑爱好者一个帮助，如果你不喜欢，那请你喷轻点。后续我会继续更新和维护，谢谢你看到这儿！</p>
 
      <!-- reward -->
      
    </div>
    

    <!-- copyright -->
    
    <footer class="article-footer">
       
    </footer>
  </div>

    
 
   
  
</article>

    
  </article>
  

  
</section>
</div>

      <footer class="footer">
  <div class="outer">
    <ul>
      <li>
        Copyrights &copy;
        2024
        <i class="ri-heart-fill heart_icon"></i> John Doe
      </li>
    </ul>
    <ul>
      <li>
        
      </li>
    </ul>
    <ul>
      <li>
        
        
        <span>
  <span><i class="ri-user-3-fill"></i>Visitors:<span id="busuanzi_value_site_uv"></span></span>
  <span class="division">|</span>
  <span><i class="ri-eye-fill"></i>Views:<span id="busuanzi_value_page_pv"></span></span>
</span>
        
      </li>
    </ul>
    <ul>
      
    </ul>
    <ul>
      
    </ul>
    <ul>
      <li>
        <!-- cnzz统计 -->
        
      </li>
    </ul>
  </div>
</footer>
<!--添加网站运行时间 -->

    <span id="timeDate">载入天数...</span><span id="times">载入时分秒...</span>
    <script>
        var now = new Date();

        function createtime() {
            // var create_time = '06/7/2024 15:00:00';
            var create_time = new Date("08/7/2024 15:00:00");// 网站上线时间 
            now.setTime(now.getTime() + 250);
            days = (now - create_time) / 1000 / 60 / 60 / 24;
            dnum = Math.floor(days);
            hours = (now - create_time) / 1000 / 60 / 60 - (24 * dnum);
            hnum = Math.floor(hours);
            if (String(hnum).length == 1) {
                hnum = "0" + hnum;
            }
            minutes = (now - create_time) / 1000 / 60 - (24 * 60 * dnum) - (60 * hnum);
            mnum = Math.floor(minutes);
            if (String(mnum).length == 1) {
                mnum = "0" + mnum;
            }
            seconds = (now - create_time) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum);
            snum = Math.round(seconds);
            if (String(snum).length == 1) {
                snum = "0" + snum;
            }
            document.getElementById("timeDate").innerHTML = " | 本站已运行 " + dnum + " 天 ";
            document.getElementById("times").innerHTML = hnum + " 时 " + mnum + " 分 " + snum + " 秒";
        }
        setInterval("createtime()", 250);
    </script>
    
    </main>
    <div class="float_btns">
      <div class="totop" id="totop">
  <i class="ri-arrow-up-line"></i>
</div>

    </div>
    <aside class="sidebar on">
      <button class="navbar-toggle"></button>
<nav class="navbar">
  
  <div class="logo">
    <a href="/"><img src="/images/ayer-side.svg" alt="科技百宝箱"></a>
  </div>
  
  <ul class="nav nav-main">
    
    <li class="nav-item">
      <a class="nav-item-link" href="/">主页</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" href="/archives">归档</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" target="_blank" rel="noopener" href="http://localhost:4000/2024/08/06/%E8%99%9A%E6%8B%9F%E6%9C%BA%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B/">虚拟机</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" target="_blank" rel="noopener" href="http://localhost:4000/2024/08/06/%E7%B3%BB%E7%BB%9F%E9%95%9C%E5%83%8F/">系统镜像</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" target="_blank" rel="noopener" href="https://space.bilibili.com/1834519604/channel/seriesdetail?sid=3748609&ctype=0">病毒系列</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" target="_blank" rel="noopener" href="http://localhost:4000/2024/08/06/QQ%E7%BE%A4/">QQ群</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" target="_blank" rel="noopener" href="http://localhost:4000/2024/08/07/ChatGPT/">AI</a>
    </li>
    
    <li class="nav-item">
      <a class="nav-item-link" target="_blank" rel="noopener" href="http://localhost:4000/2024/08/06/%E5%85%B3%E4%BA%8E%E6%88%91/">关于我</a>
    </li>
    
  </ul>
</nav>
<nav class="navbar navbar-bottom">
  <ul class="nav">
    <li class="nav-item">
      
      <a class="nav-item-link nav-item-search"  title="Search">
        <i class="ri-search-line"></i>
      </a>
      
      
    </li>
  </ul>
</nav>
<div class="search-form-wrap">
  <div class="local-search local-search-plugin">
  <input type="search" id="local-search-input" class="local-search-input" placeholder="Search...">
  <div id="local-search-result" class="local-search-result"></div>
</div>
</div>
    </aside>
    <div id="mask"></div>

<!-- #reward -->
<div id="reward">
  <span class="close"><i class="ri-close-line"></i></span>
  <p class="reward-p"><i class="ri-cup-line"></i>请UP喝杯咖啡吧~</p>
  <div class="reward-box">
    
    <div class="reward-item">
      <img class="reward-img" src="/images/alipay.jpg">
      <span class="reward-type">支付宝</span>
    </div>
    
    
    <div class="reward-item">
      <img class="reward-img" src="/images/wechat.jpg">
      <span class="reward-type">微信</span>
    </div>
    
  </div>
</div>
    
<script src="/js/jquery-3.6.0.min.js"></script>
 
<script src="/js/lazyload.min.js"></script>

<!-- Tocbot -->

<script src="https://cdn.staticfile.org/jquery-modal/0.9.2/jquery.modal.min.js"></script>
<link
  rel="stylesheet"
  href="https://cdn.staticfile.org/jquery-modal/0.9.2/jquery.modal.min.css"
/>
<script src="https://cdn.staticfile.org/justifiedGallery/3.8.1/js/jquery.justifiedGallery.min.js"></script>

<script src="/dist/main.js"></script>

<!-- ImageViewer -->
 <!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">

    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>

    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">

        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>

        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">

            <div class="pswp__top-bar">

                <!--  Controls are self-explanatory. Order can be changed. -->

                <div class="pswp__counter"></div>

                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>

                <button class="pswp__button pswp__button--share" style="display:none" title="Share"></button>

                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>

                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>

                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                        <div class="pswp__preloader__cut">
                            <div class="pswp__preloader__donut"></div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div>
            </div>

            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>

            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>

            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>

        </div>

    </div>

</div>

<link rel="stylesheet" href="https://cdn.staticfile.org/photoswipe/4.1.3/photoswipe.min.css">
<link rel="stylesheet" href="https://cdn.staticfile.org/photoswipe/4.1.3/default-skin/default-skin.min.css">
<script src="https://cdn.staticfile.org/photoswipe/4.1.3/photoswipe.min.js"></script>
<script src="https://cdn.staticfile.org/photoswipe/4.1.3/photoswipe-ui-default.min.js"></script>

<script>
    function viewer_init() {
        let pswpElement = document.querySelectorAll('.pswp')[0];
        let $imgArr = document.querySelectorAll(('.article-entry img:not(.reward-img)'))

        $imgArr.forEach(($em, i) => {
            $em.onclick = () => {
                // slider展开状态
                // todo: 这样不好，后面改成状态
                if (document.querySelector('.left-col.show')) return
                let items = []
                $imgArr.forEach(($em2, i2) => {
                    let img = $em2.getAttribute('data-idx', i2)
                    let src = $em2.getAttribute('data-target') || $em2.getAttribute('src')
                    let title = $em2.getAttribute('alt')
                    // 获得原图尺寸
                    const image = new Image()
                    image.src = src
                    items.push({
                        src: src,
                        w: image.width || $em2.width,
                        h: image.height || $em2.height,
                        title: title
                    })
                })
                var gallery = new PhotoSwipe(pswpElement, PhotoSwipeUI_Default, items, {
                    index: parseInt(i)
                });
                gallery.init()
            }
        })
    }
    viewer_init()
</script> 
<!-- MathJax -->

<!-- Katex -->

<!-- busuanzi  -->
 
<script src="/js/busuanzi-2.3.pure.min.js"></script>
 
<!-- ClickLove -->

<!-- ClickBoom1 -->

<!-- ClickBoom2 -->
 
<script src="/js/clickBoom2.js"></script>
 
<!-- CodeCopy -->
 
<link rel="stylesheet" href="/css/clipboard.css">
 <script src="https://cdn.staticfile.org/clipboard.js/2.0.10/clipboard.min.js"></script>
<script>
  function wait(callback, seconds) {
    var timelag = null;
    timelag = window.setTimeout(callback, seconds);
  }
  !function (e, t, a) {
    var initCopyCode = function(){
      var copyHtml = '';
      copyHtml += '<button class="btn-copy" data-clipboard-snippet="">';
      copyHtml += '<i class="ri-file-copy-2-line"></i><span>COPY</span>';
      copyHtml += '</button>';
      $(".highlight .code pre").before(copyHtml);
      $(".article pre code").before(copyHtml);
      var clipboard = new ClipboardJS('.btn-copy', {
        target: function(trigger) {
          return trigger.nextElementSibling;
        }
      });
      clipboard.on('success', function(e) {
        let $btn = $(e.trigger);
        $btn.addClass('copied');
        let $icon = $($btn.find('i'));
        $icon.removeClass('ri-file-copy-2-line');
        $icon.addClass('ri-checkbox-circle-line');
        let $span = $($btn.find('span'));
        $span[0].innerText = 'COPIED';
        
        wait(function () { // 等待两秒钟后恢复
          $icon.removeClass('ri-checkbox-circle-line');
          $icon.addClass('ri-file-copy-2-line');
          $span[0].innerText = 'COPY';
        }, 2000);
      });
      clipboard.on('error', function(e) {
        e.clearSelection();
        let $btn = $(e.trigger);
        $btn.addClass('copy-failed');
        let $icon = $($btn.find('i'));
        $icon.removeClass('ri-file-copy-2-line');
        $icon.addClass('ri-time-line');
        let $span = $($btn.find('span'));
        $span[0].innerText = 'COPY FAILED';
        
        wait(function () { // 等待两秒钟后恢复
          $icon.removeClass('ri-time-line');
          $icon.addClass('ri-file-copy-2-line');
          $span[0].innerText = 'COPY';
        }, 2000);
      });
    }
    initCopyCode();
  }(window, document);
</script>
 
<!-- CanvasBackground -->

<script>
  if (window.mermaid) {
    mermaid.initialize({ theme: "forest" });
  }
</script>


    
    

  </div>
</body>

</html>